window.VUE_APP_URL={
  development: {
    MODE: 'development',
    NODE_ENV: 'development',
    title: "营销云—商户平台",
    //apiBasePath: import.meta.env.VITE_APINASEPATH, // 测试接口域名
    apiBasePath: "https://marketingtest.lianhaikeji.com/api/", // 测试接口域名
    // apiBasePath: `${location.origin}/api`, // 测试接口域名
    appHost: "https://marketingtest.lianhaikeji.com",
    merchantPath: `http://${window.location.hostname}:5173/merchant/`, // merchant端地址
    userPath: `http://${window.location.hostname}:3000/user/`, // user端地址
    storePath: `http://${window.location.hostname}:3001/store/`, // store端地址
    messageWsUrl:'wss://marketingtest.lianhaikeji.com/api/merchant/merchantWs',//消息通知webSocketUrl
    /**
     * Amazon S3兼容的对象存储服务
     *文档地址：http://docs.minio.org.cn/docs/master/javascript-client-quickstart-guide
     */

    minio: {
      bucketName: "marketing",
      endPoint: "minio.lianhaikeji.com",
      accessKey: "AKIAIOSFODNN7EXAMPLE",
      secretKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
      protocol:'https',
      useSSL:true
    },
    encrypt: false, //post请求参数是否加密
    activePreviewPath: `http://${window.location.hostname}:3000/user/`, //活动预览地址
    // appPreviewPath: "http://192.168.0.46:3001/", //活动预览地址
    // activePreviewPath: "http://192.168.0.72:3001/", //活动预览地址
    appPreviewPath: `http://${window.location.hostname}:3000/user/`, //活动预览地址

  },
  staging: {
    title: "营销云—商户平台",
    // apiBasePath: "https://marketingtest.lianhaikeji.com/api/", // 测试接口域名
    apiBasePath: `${location.origin}/api/`, // 测试接口域名
    appHost: "https://marketingtest.lianhaikeji.com",
    merchantPath: `https://marketingtest.lianhaikeji.com/merchant/`, // merchant端地址
    userPath: `https://marketingtest.lianhaikeji.com/user/`, // user端地址
    storePath: `https://marketingtest.lianhaikeji.com/store/`, // store端地址
    messageWsUrl:'wss://marketingtest.lianhaikeji.com/api/merchant/merchantWs',//消息通知webSocketUrl
    /**
     * Amazon S3兼容的对象存储服务
     *文档地址：http://docs.minio.org.cn/docs/master/javascript-client-quickstart-guide
     */
    minio: {
      bucketName: "marketing",
      endPoint: "minio.lianhaikeji.com",
      accessKey: "AKIAIOSFODNN7EXAMPLE",
      secretKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
      protocol:'https',
      useSSL:true
    },
    encrypt: false, //post请求参数是否加密
    activePreviewPath: "https://marketingtest.lianhaikeji.com/user/", //活动预览地址
    appPreviewPath: location.origin + "/user/",
  },
  production: {
    title: "营销云—商户平台",
    // apiBasePath: "https://marketing.lianhaikeji.com/api/", // 正式接口域名
    apiBasePath: `${location.origin}/api/`,
    appHost: "https://marketing.lianhaikeji.com",
    merchantPath: `https://marketing.lianhaikeji.com/merchant/`, // merchant端地址
    userPath: `https://marketing.lianhaikeji.com/user/`, // user端地址
    storePath: `https://marketing.lianhaikeji.com/store/`, // store端地址，
    messageWsUrl:'wss://marketing.lianhaikeji.com/api/merchant/merchantWs',//消息通知webSocketUrl
    minio: {
      bucketName: "marketing",
      endPoint: "minio.lianhaikeji.com",
      accessKey: "AKIAIOSFODNN7EXAMPLE",
      secretKey: "wJalrXUtnFEMI/K7MDENG/bPxRfiCYEXAMPLEKEY",
      protocol:'https',
      useSSL:true
    },
    encrypt: false, //post请求参数是否加密
    activePreviewPath: "https://marketing.lianhaikeji.com/user/", //活动预览地址
    appPreviewPath: location.origin + "/user/",
  },
  poc: {
    title: "营销云—商户平台",
    apiBasePath: "http://198.98.33.245:80/api/", // 正式接口域名
    appHost: "http://198.98.33.245:80",
    merchantPath: `http://198.98.33.245:80/merchant/`, // merchant端地址
    userPath: `http://198.98.33.245:80/user/`, // user端地址
    storePath: `http://198.98.33.245:80/store/`, // store端地址
    minio: {
      bucketName: "marketing",
      endPoint: "158.220.155.38",
      accessKey: "admin",
      secretKey: "admin2023",
      protocol:'http',
      useSSL:false,
      port:9001
    },
    encrypt: false, //post请求参数是否加密
    activePreviewPath: "http://158.220.155.38:18080/user/", //活动预览地址
    appPreviewPath: "http://158.220.155.38:18080/user/",
    messageWsUrl:'ws://marketing.lianhaikeji.com/api/merchant/merchantWs',//消息通知webSocketUrl
  },
};
